load("@io_bazel_rules_go//go:def.bzl", "go_library")

go_library(
    name = "raftpb",
    srcs = [
        "confchange.go",
        "confstate.go",
        "raft.pb.go",
    ],
    importmap = "github.com/cockroachdb/cockroach/vendor/go.etcd.io/etcd/raft/v3/raftpb",
    importpath = "go.etcd.io/etcd/raft/v3/raftpb",
    visibility = ["//visibility:public"],
    deps = [
        "//vendor/github.com/gogo/protobuf/gogoproto",
        "//vendor/github.com/gogo/protobuf/proto",
        "//vendor/github.com/golang/protobuf/proto",
    ],
)
